package com.gitee.magic.jdbc.persistence.source.jdbc.script.def;

/**
 * @author start
 */
public class FieldDefInfo {
	
	/**
	 * 列名
	 */
	private String columnName;

	/**
	 * 类型
	 */
	private String typeName;
	
	/**
	 * 大小
	 */
	private int length;
	
	/**
	 * 小数
	 */
	private int decimal;
	
	/**
	 * 是否为NULL 1可为Null,0不可为Null
	 */
	private boolean nullable;
	
	/**
	 * 默认值
	 */
	private String defaultValue;
	
	/**
	 * 注释
	 */
	private String remark;

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public int getDecimal() {
		return decimal;
	}

	public void setDecimal(int decimal) {
		this.decimal = decimal;
	}

	public boolean isNullable() {
		return nullable;
	}

	public void setNullable(boolean nullable) {
		this.nullable = nullable;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
